package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * Created by mark on 2017/12/15.
 */

public class MessageData {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"messageid":"3","content":"消息3","addtime":"2017/12/11 ","is_read":"0"},{"messageid":"1","content":"消息","addtime":"2017/12/08 ","is_read":"1"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * messageid : 3
         * content : 消息3
         * addtime : 2017/12/11
         * is_read : 0
         */

        private String messageid;
        private String content;
        private String addtime;
        private int is_read;

        public String getMessageid() {
            return messageid;
        }

        public void setMessageid(String messageid) {
            this.messageid = messageid;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAddtime() {
            return addtime;
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public int getIs_read() {
            return is_read;
        }

        public void setIs_read(int is_read) {
            this.is_read = is_read;
        }
    }
}
